home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue32 / kronos / KRONOS.ZIP / Main.dfm / Main.txt
Encoding:
Text File  |  1998-02-21  |  9.5 KB  |  500 lines

  1. object Form1: TForm1
  2.   Left = 7
  3.   Top = 55
  4.   Width = 772
  5.   Height = 490
  6.   Caption = 'Sample calendar'
  7.   Font.Charset = DEFAULT_CHARSET
  8.   Font.Color = clWindowText
  9.   Font.Height = -11
  10.   Font.Name = 'MS Sans Serif'
  11.   Font.Style = []
  12.   Position = poScreenCenter
  13.   OnCreate = FormCreate
  14.   PixelsPerInch = 96
  15.   TextHeight = 13
  16.   object LabelMonthName: TLabel
  17.     Left = 64
  18.     Top = 8
  19.     Width = 163
  20.     Height = 24
  21.     Caption = 'LabelMonthName'
  22.     Font.Charset = ANSI_CHARSET
  23.     Font.Color = clBlue
  24.     Font.Height = -21
  25.     Font.Name = 'Times New Roman'
  26.     Font.Style = [fsBold]
  27.     ParentFont = False
  28.   end
  29.   object LabelYear: TLabel
  30.     Left = 9
  31.     Top = 8
  32.     Width = 95
  33.     Height = 24
  34.     Caption = 'LabelYear'
  35.     Font.Charset = DEFAULT_CHARSET
  36.     Font.Color = clBlue
  37.     Font.Height = -21
  38.     Font.Name = 'Times New Roman'
  39.     Font.Style = [fsBold]
  40.     ParentFont = False
  41.   end
  42.   object Label2: TLabel
  43.     Left = 423
  44.     Top = 239
  45.     Width = 40
  46.     Height = 13
  47.     Caption = 'Events'
  48.     Font.Charset = DEFAULT_CHARSET
  49.     Font.Color = clPurple
  50.     Font.Height = -11
  51.     Font.Name = 'MS Sans Serif'
  52.     Font.Style = [fsBold]
  53.     ParentFont = False
  54.   end
  55.   object Label1: TLabel
  56.     Left = 28
  57.     Top = 240
  58.     Width = 27
  59.     Height = 13
  60.     Caption = 'Year'
  61.     Font.Charset = DEFAULT_CHARSET
  62.     Font.Color = clPurple
  63.     Font.Height = -11
  64.     Font.Name = 'MS Sans Serif'
  65.     Font.Style = [fsBold]
  66.     ParentFont = False
  67.   end
  68.   object Label3: TLabel
  69.     Left = 94
  70.     Top = 240
  71.     Width = 36
  72.     Height = 13
  73.     Caption = 'Month'
  74.     Font.Charset = DEFAULT_CHARSET
  75.     Font.Color = clPurple
  76.     Font.Height = -11
  77.     Font.Name = 'MS Sans Serif'
  78.     Font.Style = [fsBold]
  79.     ParentFont = False
  80.   end
  81.   object Label4: TLabel
  82.     Left = 165
  83.     Top = 240
  84.     Width = 34
  85.     Height = 13
  86.     Caption = 'Week'
  87.     Font.Charset = DEFAULT_CHARSET
  88.     Font.Color = clPurple
  89.     Font.Height = -11
  90.     Font.Name = 'MS Sans Serif'
  91.     Font.Style = [fsBold]
  92.     ParentFont = False
  93.   end
  94.   object Label5: TLabel
  95.     Left = 248
  96.     Top = 240
  97.     Width = 23
  98.     Height = 13
  99.     Caption = 'Day'
  100.     Font.Charset = DEFAULT_CHARSET
  101.     Font.Color = clPurple
  102.     Font.Height = -11
  103.     Font.Name = 'MS Sans Serif'
  104.     Font.Style = [fsBold]
  105.     ParentFont = False
  106.   end
  107.   object Label6: TLabel
  108.     Left = 339
  109.     Top = 240
  110.     Width = 45
  111.     Height = 13
  112.     Caption = 'Defined'
  113.     Font.Charset = DEFAULT_CHARSET
  114.     Font.Color = clPurple
  115.     Font.Height = -11
  116.     Font.Name = 'MS Sans Serif'
  117.     Font.Style = [fsBold]
  118.     ParentFont = False
  119.   end
  120.   object Label7: TLabel
  121.     Left = 320
  122.     Top = 288
  123.     Width = 22
  124.     Height = 13
  125.     Caption = 'Year'
  126.   end
  127.   object Label8: TLabel
  128.     Left = 320
  129.     Top = 312
  130.     Width = 30
  131.     Height = 13
  132.     Caption = 'Month'
  133.   end
  134.   object Label9: TLabel
  135.     Left = 320
  136.     Top = 336
  137.     Width = 47
  138.     Height = 13
  139.     Caption = 'Monthday'
  140.   end
  141.   object Label10: TLabel
  142.     Left = 320
  143.     Top = 360
  144.     Width = 29
  145.     Height = 13
  146.     Caption = 'Week'
  147.   end
  148.   object Label11: TLabel
  149.     Left = 320
  150.     Top = 384
  151.     Width = 46
  152.     Height = 13
  153.     Caption = 'Weekday'
  154.   end
  155.   object Label12: TLabel
  156.     Left = 304
  157.     Top = 426
  158.     Width = 108
  159.     Height = 13
  160.     Caption = '(Esc to clear weekday)'
  161.   end
  162.   object Label13: TLabel
  163.     Left = 8
  164.     Top = 425
  165.     Width = 65
  166.     Height = 13
  167.     Caption = 'First weekday'
  168.   end
  169.   object DrawGrid1: TDrawGrid
  170.     Left = 10
  171.     Top = 32
  172.     Width = 743
  173.     Height = 201
  174.     BorderStyle = bsNone
  175.     Color = clSilver
  176.     ColCount = 8
  177.     Ctl3D = False
  178.     DefaultColWidth = 100
  179.     DefaultRowHeight = 28
  180.     DefaultDrawing = False
  181.     FixedCols = 0
  182.     RowCount = 7
  183.     FixedRows = 0
  184.     GridLineWidth = 0
  185.     ParentCtl3D = False
  186.     ScrollBars = ssNone
  187.     TabOrder = 0
  188.     OnDrawCell = DrawGrid1DrawCell
  189.     OnSelectCell = DrawGrid1SelectCell
  190.   end
  191.   object ButtonNextYear: TButton
  192.     Left = 10
  193.     Top = 256
  194.     Width = 63
  195.     Height = 25
  196.     Caption = 'Forward'
  197.     TabOrder = 1
  198.     OnClick = ButtonNextYearClick
  199.   end
  200.   object ButtonPrevYear: TButton
  201.     Left = 10
  202.     Top = 288
  203.     Width = 63
  204.     Height = 25
  205.     Caption = 'Back'
  206.     TabOrder = 2
  207.     OnClick = ButtonPrevYearClick
  208.   end
  209.   object ButtonNextMonth: TButton
  210.     Left = 78
  211.     Top = 256
  212.     Width = 63
  213.     Height = 25
  214.     Caption = 'Forward'
  215.     TabOrder = 3
  216.     OnClick = ButtonNextMonthClick
  217.   end
  218.   object ButtonPrevMonth: TButton
  219.     Left = 78
  220.     Top = 288
  221.     Width = 63
  222.     Height = 25
  223.     Caption = 'Back'
  224.     TabOrder = 4
  225.     OnClick = ButtonPrevMonthClick
  226.   end
  227.   object ButtonNextWeek: TButton
  228.     Left = 150
  229.     Top = 256
  230.     Width = 63
  231.     Height = 25
  232.     Caption = 'Forward'
  233.     TabOrder = 8
  234.     OnClick = ButtonNextWeekClick
  235.   end
  236.   object ButtonPrevWeek: TButton
  237.     Left = 150
  238.     Top = 288
  239.     Width = 63
  240.     Height = 25
  241.     Caption = 'Back'
  242.     TabOrder = 9
  243.     OnClick = ButtonPrevWeekClick
  244.   end
  245.   object ButtonToday: TButton
  246.     Left = 224
  247.     Top = 256
  248.     Width = 75
  249.     Height = 25
  250.     Caption = 'Today'
  251.     TabOrder = 13
  252.     OnClick = ButtonTodayClick
  253.   end
  254.   object ButtonGo: TButton
  255.     Left = 306
  256.     Top = 256
  257.     Width = 113
  258.     Height = 25
  259.     Caption = 'Go!'
  260.     TabOrder = 16
  261.     OnClick = ButtonGoClick
  262.   end
  263.   object ButtonTomorrow: TButton
  264.     Left = 224
  265.     Top = 288
  266.     Width = 75
  267.     Height = 25
  268.     Caption = 'Tomorrow'
  269.     TabOrder = 14
  270.     OnClick = ButtonTomorrowClick
  271.   end
  272.   object ButtonYesterday: TButton
  273.     Left = 224
  274.     Top = 320
  275.     Width = 75
  276.     Height = 25
  277.     Caption = 'Yesterday'
  278.     TabOrder = 15
  279.     OnClick = ButtonYesterdayClick
  280.   end
  281.   object ButtonThisweek: TButton
  282.     Left = 150
  283.     Top = 320
  284.     Width = 63
  285.     Height = 25
  286.     Caption = 'This'
  287.     TabOrder = 10
  288.     OnClick = ButtonThisweekClick
  289.   end
  290.   object ButtonThisMonth: TButton
  291.     Left = 78
  292.     Top = 320
  293.     Width = 63
  294.     Height = 25
  295.     Caption = 'This'
  296.     TabOrder = 5
  297.     OnClick = ButtonThisMonthClick
  298.   end
  299.   object ButtonNextM: TButton
  300.     Left = 78
  301.     Top = 352
  302.     Width = 63
  303.     Height = 25
  304.     Caption = 'Next'
  305.     TabOrder = 6
  306.     OnClick = ButtonNextMClick
  307.   end
  308.   object ButtonLastMonth: TButton
  309.     Left = 78
  310.     Top = 384
  311.     Width = 63
  312.     Height = 25
  313.     Caption = 'Last'
  314.     TabOrder = 7
  315.     OnClick = ButtonLastMonthClick
  316.   end
  317.   object ButtonNextW: TButton
  318.     Left = 150
  319.     Top = 352
  320.     Width = 63
  321.     Height = 25
  322.     Caption = 'Next'
  323.     TabOrder = 11
  324.     OnClick = ButtonNextWClick
  325.   end
  326.   object ButtonLastWeek: TButton
  327.     Left = 150
  328.     Top = 384
  329.     Width = 63
  330.     Height = 25
  331.     Caption = 'Last'
  332.     TabOrder = 12
  333.     OnClick = ButtonLastWeekClick
  334.   end
  335.   object EditYear: TEdit
  336.     Left = 377
  337.     Top = 288
  338.     Width = 41
  339.     Height = 21
  340.     TabOrder = 17
  341.   end
  342.   object ListBoxYE: TListBox
  343.     Left = 424
  344.     Top = 256
  345.     Width = 249
  346.     Height = 161
  347.     Color = clSilver
  348.     ItemHeight = 13
  349.     TabOrder = 22
  350.     OnDblClick = ListBoxYEDblClick
  351.   end
  352.   object ButtonAdd: TButton
  353.     Left = 680
  354.     Top = 256
  355.     Width = 75
  356.     Height = 25
  357.     Caption = 'Add...'
  358.     TabOrder = 23
  359.     OnClick = ButtonAddClick
  360.   end
  361.   object ButtonDelete: TButton
  362.     Left = 680
  363.     Top = 288
  364.     Width = 75
  365.     Height = 25
  366.     Caption = 'Delete'
  367.     TabOrder = 24
  368.     OnClick = ButtonDeleteClick
  369.   end
  370.   object ButtonSave: TButton
  371.     Left = 680
  372.     Top = 352
  373.     Width = 75
  374.     Height = 25
  375.     Caption = 'Save...'
  376.     TabOrder = 26
  377.     OnClick = ButtonSaveClick
  378.   end
  379.   object ButtonLoad: TButton
  380.     Left = 680
  381.     Top = 384
  382.     Width = 75
  383.     Height = 25
  384.     Caption = 'Load...'
  385.     TabOrder = 27
  386.     OnClick = ButtonLoadClick
  387.   end
  388.   object EditMonth: TEdit
  389.     Left = 385
  390.     Top = 312
  391.     Width = 33
  392.     Height = 21
  393.     TabOrder = 18
  394.   end
  395.   object EditMonthday: TEdit
  396.     Left = 385
  397.     Top = 336
  398.     Width = 33
  399.     Height = 21
  400.     TabOrder = 19
  401.   end
  402.   object EditWeek: TEdit
  403.     Left = 385
  404.     Top = 360
  405.     Width = 33
  406.     Height = 21
  407.     TabOrder = 20
  408.   end
  409.   object ComboBoxWeekday: TComboBox
  410.     Left = 305
  411.     Top = 400
  412.     Width = 115
  413.     Height = 21
  414.     Style = csDropDownList
  415.     ItemHeight = 13
  416.     Items.Strings = (
  417.       'Sunday'
  418.       'Monday'
  419.       'Tuesday'
  420.       'Wednesday'
  421.       'Thursday'
  422.       'Friday'
  423.       'Saturday')
  424.     TabOrder = 21
  425.     OnKeyDown = ComboBoxWeekdayKeyDown
  426.   end
  427.   object ButtonEdit: TButton
  428.     Left = 680
  429.     Top = 320
  430.     Width = 75
  431.     Height = 25
  432.     Caption = 'Edit...'
  433.     TabOrder = 25
  434.     OnClick = ButtonEditClick
  435.   end
  436.   object ComboBoxFirstWd: TComboBox
  437.     Left = 77
  438.     Top = 417
  439.     Width = 137
  440.     Height = 21
  441.     Style = csDropDownList
  442.     ItemHeight = 13
  443.     Items.Strings = (
  444.       'Sunday'
  445.       'Monday'
  446.       'Tuesday'
  447.       'Wednesday'
  448.       'Thursday'
  449.       'Friday'
  450.       'Saturday')
  451.     TabOrder = 28
  452.     OnChange = ComboBoxFirstWdChange
  453.   end
  454.   object RGEvents: TRadioGroup
  455.     Left = 427
  456.     Top = 419
  457.     Width = 246
  458.     Height = 34
  459.     Columns = 2
  460.     ItemIndex = 0
  461.     Items.Strings = (
  462.       'Yearly'
  463.       'On current date')
  464.     TabOrder = 29
  465.     OnClick = RGEventsClick
  466.   end
  467.   object OpenDialog1: TOpenDialog
  468.     Filter = 'Kronos datypes|*.kdt'
  469.     Left = 456
  470.     Top = 40
  471.   end
  472.   object SaveDialog1: TSaveDialog
  473.     Left = 496
  474.     Top = 40
  475.   end
  476.   object Kronos1: TKronos
  477.     Year = 1998
  478.     Month = 2
  479.     MonthDay = 22
  480.     FirstWeekDay = Sunday
  481.     WeekDay = Sunday
  482.     Week = 9
  483.     DayNumber = 53
  484.     WeekHolidays = [Sunday]
  485.     DefaultToPresentDay = True
  486.     MinYear = 1
  487.     MaxYear = 9999
  488.     AllowUserCalc = True
  489.     HidePredefineds = False
  490.     OnChangeYear = Kronos1ChangeYear
  491.     OnChangeMonth = Kronos1ChangeMonth
  492.     OnChangeMonthNumber = Kronos1ChangeMonthNumber
  493.     OnChangeMonthDay = Kronos1ChangeMonthDay
  494.     OnChangeDate = Kronos1ChangeDate
  495.     OnCalcDaytype = Kronos1CalcDaytype
  496.     Left = 400
  497.     Top = 40
  498.   end
  499. end
  500.